﻿<?xml version="1.0" encoding="utf-8" ?>
<ContentConfig xmlns="config.xsd">
  <DataSources>
    <AddDataSource Name="WinKStartDataSource_Favorites" ShortName="Favorites" Searchable="true" Assembly="WMSSoft.WinKStart.DataSource.dll" ClassName="WMSSoft.WinKStart.DataSource.FavoriteDataSource" />
    <AddDataSource Name="WinKStartDataSource_Startmenu" ShortName="Startmenu" Searchable="true" Assembly="WMSSoft.WinKStart.DataSource.dll" ClassName="WMSSoft.WinKStart.DataSource.StartmenuDataSource">      
      <Options>
        <AddOption Key="ShowAllUserItems" Value="true" />
        <AddOption Key="ShowAdministrativeTools" Value="true" />
      </Options>     
    </AddDataSource>
    <AddDataSource Name="WinKStartDataSource_SystemControl" ShortName="SystemControl" Searchable="true" Assembly="WMSSoft.WinKStart.DataSource.dll" ClassName="WMSSoft.WinKStart.DataSource.SystemControlDataSource">
      <Options>
        <AddOption Key="ShowAdministrativeTools" Value="true" />
        <AddOption Key="ShowWinKStartItems" Value="true" />
      </Options>
    </AddDataSource>
    <AddDataSource Name="WinKStartDataSource_Recent" ShortName="Recent" Searchable="true" Assembly="WMSSoft.WinKStart.DataSource.dll" ClassName="WMSSoft.WinKStart.DataSource.RecentDataSource" > 
      <Assignments>
        <AddAssignment Key="sln" Value="Projects" />
        <AddAssignment Key="txt" Value="Other" />
        <AddAssignment Key="doc" Value="OfficeDocuments" />
        <AddAssignment Key="docx" Value="OfficeDocuments"/>
        <AddAssignment Key="xls" Value="OfficeDocuments" />
        <AddAssignment Key="xlsx" Value="OfficeDocuments"/>
        <AddAssignment Key="pdn" Value="Graphics" />
        <AddAssignment Key="png" Value="Graphics" />
        <AddAssignment Key="jpg" Value="Graphics" />
        <AddAssignment Key="ico" Value="Graphics" />
        <AddAssignment Key="svg" Value="Graphics" />
        <AddAssignment Key="odt" Value="OfficeDocuments" />
        <AddAssignment Key="pdf" Value="Prints" />
        <AddAssignment Key="gif" Value="Graphics"/>
        <AddAssignment Key="bmp" Value="Graphics"/>
        <AddAssignment Key="html" Value="Web" />
        <AddAssignment Key="htm" Value="Web"/>
        <AddAssignment Key="cdr" Value="Graphics"/>
        <AddAssignment Key="cpt" Value="Graphics"/>
        <AddAssignment Key="xps" Value="Prints"/>
        <AddAssignment Key="zip" Value="Archive"/>
        <AddAssignment Key="cab" Value="Archive"/>
        <AddAssignment Key="rar" Value="Archive" />
        <AddAssignment Key="iso" Value="Other"/>
        <AddAssignment Key="xml" Value="XML"/>
        <AddAssignment Key="themepack" Value="Other"/>
      </Assignments>
      <Options>   
        <AddOption Key="TestOptions" Value="TestValue" />
      </Options>
    </AddDataSource>
    <AddDataSource Name="WinKStartDataSource_Shutdown" ShortName="Shutdown" Searchable="true" Assembly="WMSSoft.WinKStart.DataSource.dll" ClassName="WMSSoft.WinKStart.DataSource.UserDataSource" >    
      <CustomItems>       
        <AddDataItem ViewName="Logout" Name="shutdown_menu_logout" Type="Link" Executable="shutdown" LinkExecutionType="Code" ExecutionProcedure="system_logout" Arguments=" /l" Image="system-log-out-2.png" PanelID="panShutdownSession" Filter="Session" />
        <AddDataItem ViewName="Lock Workstation" Name="shutdown_menu_lock_workstation" Type="Link" LinkExecutionType="Code" ExecutionProcedure="lock_workstation" Image="system-lock-screen-5.png" PanelID="panShutdownSession" Filter="Session" />
        <AddDataItem ViewName="Standby" Name="shutdown_menu_activate_standby" Type="Link" LinkExecutionType="Code" ExecutionProcedure="energy_save_mode" Image="system-standby.png" PanelID="panShutdownSystem" Filter="System" />
        <AddDataItem ViewName="Hibernate" Name="shutdown_menu_activate_hibernate" Type="Link" LinkExecutionType="Code" ExecutionProcedure="hibernate_mode" Image="system-hibernate.png" PanelID="panShutdownSystem" Filter="System" />
        <AddDataItem ViewName="Reboot Windows" Name="shutdown_menu_reboot_windows" Type="Link" LinkExecutionType="Program" Executable="shutdown" Arguments=" /r /t 0" Image="system-reboot-2.png" PanelID="panShutdownSystem" Filter="System" />
        <AddDataItem ViewName="Shutdown Windows" Name="shutdown_menu_shutdown_windows" Type="Link" LinkExecutionType="Program" Executable="shutdown" Arguments=" /s /t 0" Image="system-shutdown-6.png" PanelID="panShutdownSystem" Filter="System" />
      </CustomItems>
    </AddDataSource>
    <AddDataSource Name="WinKStartDataSource_Search" ShortName="WebSearch" Searchable="false" Assembly="WMSSoft.WinKStart.DataSource.dll" ClassName="WMSSoft.WinKStart.DataSource.UserDataSource" />
  </DataSources>
  <SearchEngines>
    <AddSearchEngine Name="SearchEngine_Google" ShortName="Google" Assembly="WMSSoft.WinKStart.SearchEngine.Google.dll" ClassName="WMSSoft.WinKStart.SearchEngine.GoogleWebSearchEngine" DataSource="WinKStartDataSource_Search" Filter="SearchResult_Google">
      <Options>
        <AddOption Key="SearchOptions" Value="TestValue" />
      </Options>
    </AddSearchEngine>
  </SearchEngines>
  <ContextMenu>
    <AddTarget Name="AddFavoritesTarget" Type="SelectedItem">
      <UsedIn>
        <AddParent>tbpPrograms</AddParent>        
      </UsedIn>
      <CustomItems>
        <AddItem Name="mni_AddFavorite" Caption="Add to Favorites"/>        
      </CustomItems>
    </AddTarget>
    <AddTarget Name="ManageRecent" Type="SelectedItem">
      <UsedIn>
        <AddParent>tbpRecent</AddParent>
      </UsedIn>
      <CustomItems>
        <AddItem Name="mni_AddFavorite" Caption="Add to Favorites"/>
        <AddItem Name="mni_RemoveRecent" Caption="Remove from Recent"/>
      </CustomItems>
    </AddTarget>
    <AddTarget Name="RemoveFavoritesTarget" Type="SelectedItem" >
      <UsedIn>
        <AddParent>tbpFavorites</AddParent>
      </UsedIn>
      <CustomItems>
        <AddItem Name="mni_RemoveFavorite" Caption="Remove from Favorites" />
      </CustomItems>
    </AddTarget>
    <AddTarget Name="SystemControl" Type="Custom">
      <UsedIn>
        <AddParent>tbpSystem</AddParent>
      </UsedIn>
      <CustomItems>
        <AddItem Name="mni_Open" Caption="Open" />
        <AddItem Name="mni_CreateLink" Caption="Create a Link" />
        <AddItem Name="mni_AddToFavorites" Caption="Add to Favorites" />
      </CustomItems>
    </AddTarget>
  </ContextMenu>
  <Actions> 
    <AddAction Name="act_SystemControlItemOpen" Type="ContextMenu" EventSourceElement="mni_Open" Function="funct_AppStarter">
      <Trigger>
        <AddTrigger Event="Click"/>
      </Trigger>
      <SourceElements>
        <AddSource Element="SelectedItem" Property="LinkFilename"/>
        <AddSource Element="SelectedItem" Property="Arguments" />
        <AddSource Element="SelectedItem" Property="FolderPath" />
        <AddSource Element="SelectedItem" Property="ViewName" />
        <AddSource Element="SelectedItem" Property="ContentType" />
      </SourceElements>
    </AddAction>
    <AddAction Name="act_SystemControlItemAddToFavorite" Type="ContextMenu" EventSourceElement="mni_AddToFavorites" Function="funct_AddFavorite">
      <Trigger>
        <AddTrigger Event="Click"/>
      </Trigger>
      <SourceElements>
        <AddSource Element="SelectedItem" Property="LinkFilename"/>
        <AddSource Element="SelectedItem" Property="Arguments" />
        <AddSource Element="SelectedItem" Property="FolderPath" />
        <AddSource Element="SelectedItem" Property="ViewName" />
        <AddSource Element="SelectedItem" Property="ContentType" />
      </SourceElements>
    </AddAction>
    <AddAction Name="act_AddToFavorites" Type="ContextMenu" EventSourceElement="mni_AddFavorite" Function="funct_AddFavorite" >
      <Trigger>
        <AddTrigger Event="Click"/>
      </Trigger>
      <SourceElements>
        <AddSource Element="SelectedItem" Property="ItemName"/>
        <AddSource Element="SelectedItem" Property="ContentType" />
      </SourceElements>
    </AddAction>
    <AddAction Name="act_RemoveFromFavorites" Type="ContextMenu" EventSourceElement="mni_RemoveFavorite" Function="funct_RemoveFavorite" >
      <Trigger>
        <AddTrigger Event="Click"/>
      </Trigger>
      <SourceElements>
        <AddSource Element="SelectedItem" Property="ItemName"/>        
      </SourceElements>
    </AddAction>
    <AddAction Name="act_RemoveRecent" Type="ContextMenu" EventSourceElement="mni_RemoveRecent" Function="funct_RemoveRecent">
      <Trigger>
        <AddTrigger Event="Click"/>
      </Trigger>
      <SourceElements>
        <AddSource Element="SelectedItem" Property="ItemName"/>
      </SourceElements>
    </AddAction>
    <AddAction Name="act_Test" Type="ContextMenu" Function="funct_Test" EventSourceElement="mni_Test">
      <Trigger>
        <AddTrigger Event="Click"/>
      </Trigger>
      <SourceElements>
        <AddSource Element="SelectedItem" Property="LinkFilename"/>
        <AddSource Element="SelectedItem" Property="Arguments"/>
      </SourceElements>
    </AddAction>
    <AddAction Name="act_Search" Type="Control" Function="funct_Search" EventSourceElement="txt_ProgramSearchbox" >
      <Trigger>
        <AddTrigger Event="TextChanged" DataLength="3" Value=""/>              
      </Trigger>
      <SourceElements>
        <AddSource Element="txt_ProgramSearchbox" Property="Text"/>
      </SourceElements>
    </AddAction>
  </Actions>
  <Functions>
    <AddFunction Name="funct_AddFavorite" Assembly="WMSSoft.WinKStart.Functions.Favorites.dll" ClassName="WMSSoft.WinKStart.Functions.AddFavorites" DataSource="WinKStartDataSource_Favorites" Filter="Favorites">
      <Options>
        <AddOption Key="FunctionOptions" Value="TestValue" />
      </Options>
    </AddFunction>
    <AddFunction Name="funct_RemoveFavorite" Assembly="WMSSoft.WinKStart.Functions.Favorites.dll" ClassName="WMSSoft.WinKStart.Functions.RemoveFavorites"  DataSource="" />
    <AddFunction Name="funct_AppStarter" Assembly="WMSSoft.WinKStart.Functions.AppStarter.dll" ClassName="WMSSoft.WinKStart.Functions.ApplicationStarter"  DataSource="" />
    <AddFunction Name="funct_RemoveRecent" Assembly="WMSSoft.WinKStart.Functions.RecentWorker.dll" ClassName="WMSSoft.WinKStart.Functions.RemoveRecent" DataSource="" />
    <AddFunction Name="funct_Test" Assembly="WMSSoft.WinKStart.Functions.Favorites.dll" ClassName="WMSSoft.WinKStart.Functions.Test" DataSource="WinKStartDataSource_Favorites" Filter="Favorites" />
    <AddFunction Name="funct_Search" Assembly="WMSSoft.WinKStart.Functions.Search.dll" ClassName="WMSSoft.WinKStart.Functions.CSearch" DataSource="WinKStartDataSource_Search" Filter=""/>
  </Functions>
  <Regions>
    <AddRegion RenderMethode="Groups" Name="tbpFavorites" Caption="Favorites" ShowContextmenu="true" CanAddToFavorite="false" CanRemoveFromFavorite="true" >          
      <Panels>        
        <AddPanel MaxViewedElements="5" PanelID="FavoritePrograms" Caption="Programs" DataSource="WinKStartDataSource_Favorites" Filter="Favorites"  />
        <AddPanel MaxViewedElements="5" PanelID="FavoriteDocuments" Caption="Documents" DataSource="WinKStartDataSource_Favorites" Filter="FavoriteDocuments"  />
      </Panels>
    </AddRegion>
    <AddRegion CanNavigate="true" RenderMethode="Simple" Name="tbpPrograms" Caption="Programs" DataSource="WinKStartDataSource_Startmenu" Filter="Programs" CanAddToFavorite="true" >      
    </AddRegion>
    <AddRegion RenderMethode="Groups" Name="tbpSystem" Caption="System" ShowContextmenu="true" >            
      <Panels>        
        <AddPanel Caption="User Accounts and Family Safety" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false"  DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_9" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_9" />
        <AddPanel Caption="Appearance and Personalization" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_1" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_1" />
        <AddPanel Caption="Ease of Access" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_7" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_7" />
        <AddPanel Caption="Hardware and Sound" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_2" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_2" />
        <AddPanel Caption="Network and Internet" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_3" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_3" />
        <AddPanel Caption="Programs" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_8" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_8" />
        <AddPanel Caption="System and Security" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_5" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_5" />
        <AddPanel Caption="Clock, Language, and Region" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_6" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_6" />
        <AddPanel Caption="Administrative Tools" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_AdministrativeTools" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_AdministrativeTools" CanNavigate="true" />
        <AddPanel Caption="All Control Panel Items" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_0" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_0" />
        <AddPanel Caption="WinKStart Control Items" MaxViewedElements="4" CanCollpseExpand="false" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" Type="System" PanelID="panSystemControlPanelGroup_WinKStart" DataSource="WinKStartDataSource_SystemControl" Filter="SystemControlPanelGroup_WinKStart" />
      </Panels>		    
    </AddRegion>
    <AddRegion RenderMethode="Groups" Name="tbpRecent" Caption="Recent" CanAddToFavorite="true">      
      <Panels>                
        <AddPanel Caption="Archive" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedArchive" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="Archive" />
        <AddPanel Caption="Graphics" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedGraphics" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="Graphics" />
        <AddPanel Caption="Office Documents" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Expanded" MaxViewedElements="5" PanelID="panRecentOpenedOfficeDocuments"  Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="OfficeDocuments" />
        <AddPanel Caption="Other" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedOther" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="Other" />
        <AddPanel Caption="Printing" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedPrints" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="Prints" />
        <AddPanel Caption="Visual Studio" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedProjects" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="Projects" />
        <AddPanel Caption="Web" CanCollpseExpand="true"  CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedXML" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="Web" />
        <AddPanel Caption="XML" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" PanelID="panRecentOpenedXML" Type="RecentOpenedDocuments" DataSource="WinKStartDataSource_Recent" Filter="XML" />
      </Panels>    
    </AddRegion>
    <AddRegion RenderMethode="Groups" Name="tbpShutdown" Caption="Shutdown" ShowContextmenu="false">      
      <Panels>       
        <AddPanel Caption="Session" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" Type="Systemmenu" PanelID="panShutdownSession" DataSource="WinKStartDataSource_Shutdown" Filter="Session" />
        <AddPanel Caption="System" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" Type="Systemmenu" PanelID="panShutdownSystem" DataSource="WinKStartDataSource_Shutdown" Filter="System" />
      </Panels>    
    </AddRegion>
  <AddRegion RenderMethode="Groups" Name="tbpSearchResult" Caption="SearchResult" ShowContextmenu="false" >
    <Panels>
      <AddPanel Caption="Programs" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" Type="SearchResult" PanelID="panSearchResultPrograms" DataSource="WinKStartDataSource_Search" Filter="WinKStartDataSource_Startmenu"/>
      <AddPanel Caption="System" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" Type="SearchResult" PanelID="panSearchResultSystem" DataSource="WinKStartDataSource_Search" Filter="WinKStartDataSource_SystemControl"/>
      <AddPanel Caption="Recent" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" Type="SearchResult" PanelID="panSearchResultRecent" DataSource="WinKStartDataSource_Search" Filter="WinKStartDataSource_Recent"/>
      <!--<AddPanel Caption="Google" CanCollpseExpand="true" CloseIfOpenOtherPanel="false" DefaultOpenedStyle="Collapsed" MaxViewedElements="5" Type="SearchResult" PanelID="panSearchResultGoogle" DataSource="WinKStartDataSource_Search" Filter="SearchEngine_Google"/>-->
    </Panels>
  </AddRegion>
  </Regions>  
</ContentConfig>
  